package com.atguigu.order.to;

import com.atguigu.order.entity.OrderEntity;
import com.atguigu.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * description: OrderCreateTo
 * date: 2022/12/25 12:25
 * author: MR.孙
 */
@Data
public class OrderCreateTo {

    /**
     * 订单信息
     */
    public OrderEntity order;

    /**
     * 订单项
     */
    public List<OrderItemEntity> orderItems;

    /**
     * 订单计算的应付价格
     */
    public BigDecimal payPrice;

    /**
     * 运费价格
     */
    public BigDecimal fare;




}
